/*
 * @Author: your name
 * @Date: 2021-09-16 15:02:51
 * @LastEditTime: 2022-02-07 14:14:58
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \FR5086_CM3Peripherals\examples\none_evm\ble_simple_peripheral\code\sd_dev_SH3001.h
 */
/**
  ******************************************************************************
  * @file    xxx.c 
  * @author  SD Electronics xxx
  * @version V1.0
  * @date    xx-xx-xx
  * @brief   xxxxxxxxxxxxxxxxxx.
  ******************************************************************************
  */
/* Define to prevent recursive inclusion -------------------------------------*/
#ifndef _SD_DEV_SH3001_H
#define _SD_DEV_SH3001_H


/* Includes ------------------------------------------------------------------*/
#include "sd_common.h"


/** 
  * @说明  SH3001设备硬件配置相关定义 
  */
typedef struct
{
    short accData[3];
    short gyroData[3];
}ST_SH3001_CNT_PHY,*PST_SH3001_CNT_PHY;

/** 
  * @说明  SH3001设备操作选项
  */
typedef enum
{
    EN_SH3001_GetImuDATA = 0,
    EN_SH3001_GetImuCompData = 1,
}EN_SH3001_OPERTION;

/** 
  * @说明  SH3001控制结构体 
  */
typedef struct
{
	bool	bInitFlag;	        /* SH3001初始化配置标志，只能被初始化一次 */
	PST_SH3001_CNT_PHY	pstSH3001Info;
}ST_SH3001_CTRL, *PST_SH3001_CTRL;  
  

#endif
/******************* (C) COPYRIGHT 2011 ShenZhenShiding electronics **************************/
